<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
    <head>
        <title>Hyphenator.js &ndash; Test 32</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <style type="text/css">
            body {
                width:50%;
                margin-left:25%;
                margin-right:25%;
            }
            .text {
                text-align:justify;
            }
            .test {
            	background-color: #ffd6d6;
            }
            .ref {
            	background-color: #d6ffd6;
            }
            pre {
            	border: 1px dotted grey;
            }
            div {
                text-align:justify;
            }
        </style>
		<script src="http://yui.yahooapis.com/2.7.0/build/yahoo/yahoo-min.js"></script>
		<script src="http://yui.yahooapis.com/2.7.0/build/selector/selector-min.js"></script>
		<script src="../Hyphenator.js" type="text/javascript"></script>
        <script type="text/javascript">
        	var hyphenatorSettings = {
        		minwordlength: 4,
        		hyphenchar: '|',
        		selectorfunction: function () {
        			return YAHOO.util.Selector.query('p.test');
        		}
        	};
        	Hyphenator.config(hyphenatorSettings);
			Hyphenator.run();
        </script>
    </head>
    <body>
        <h1>Test 32</h1>
        <p>Check for compatibility with <a href="http://developer.yahoo.com/yui/">yui</a>.</p>
		<p><a href="test31.html">&lt;- Prev</a> | <a href="test33.html">Next -&gt;</a></p>
		<pre>&lt;script src="http://yui.yahooapis.com/2.7.0/build/yahoo/yahoo-min.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
        <p class="test" lang="en">Hyphenation</p>
        <p class="ref">Hy|phen|ation</p>
    </body>
</html>